﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace UtilsORM.MySqlData;

[Index("rm_add_time", Name = "RMP_Addtime")]
[Index("rm_guid", Name = "RMP_Guid")]
[Index("rm_menu_guid", Name = "RMP_Menu_Guid")]
[Index("rm_r_guid", Name = "RMP_R_Guid")]
[MySqlCharSet("utf8mb3")]
[MySqlCollation("utf8mb3_general_ci")]
public partial class bs_manage_role_menu
{
    [Key]
    public long rm_id { get; set; }

    [Required]
    [StringLength(100)]
    public string rm_guid { get; set; }

    [Required]
    [StringLength(100)]
    public string rm_r_guid { get; set; }

    [Required]
    [StringLength(100)]
    public string rm_menu_guid { get; set; }

    [Column(TypeName = "datetime")]
    public DateTime? rm_add_time { get; set; }

    [StringLength(100)]
    public string rm_add_cu_guid { get; set; }
}
